﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;

namespace FullDuplexServiceExample
{
	[DataContract]
	public class MyMsg
	{
		[DataMember]
		public DateTime Time { get; set;}

		[DataMember]
		public string Text { get; set; }

		public override string ToString()
		{
			return string.Format("Time: {0}, Text: {1}", Time, Text);
		}
	}
}